package com.gitee.wsl.ext.any


/**
 * Fills the list with **shallow** copies of the receiver
 */
fun <T> T.copies(count: Int): List<T> {
    val list = mutableListOf<T>()
    repeat(count) {
        list.add(this)
    }
    return list
}
